package org.example;

public abstract class FixedSalaryEmployee implements Employee {
    protected Company company;
    private double fixedSalary;

    public FixedSalaryEmployee(Company company, double fixedSalary) {
        this.company = company;
        this.fixedSalary = fixedSalary;
    }

    @Override
    public double getMonthSalary() {
        return fixedSalary;
    }
}
